package com.adong.dao;

import com.adong.domain.User;

import java.util.List;

/**
 * @author com.adong
 */
public interface UserDao {
    List<User> finAll();


    long save(User user);

    void saveUSerRole(Long id, long[] roleIds);

    void del(long userId);

    void delUserRole(long userId);
}
